﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 静态构造函数的作用
{
    class Foo
    {
        static Foo()
        { 
            
        }

        public static string Feild = GetString("静态字段");

        public static string GetString(string p)
        {
            Console.WriteLine(p);
            return p;
        }
    }
}
